<?php
namespace Ccc\Links\Domain\Model;

use Doctrine\ORM\Mapping as ORM;
/*                                                                        *
 * This script belongs to the FLOW3 package "Flow3.Guestbook".            *
 *                                                                        *
 *                                                                        */

use TYPO3\FLOW3\Annotations as FLOW3;

/**
 * A Link
 *
 * @FLOW3\Scope("prototype")
 * @FLOW3\Entity
 */
class Link {

	/**
	* The entries linktitle.
	*
	* @var string
	* @FLOW3\Validate(type="NotEmpty")
	* @FLOW3\Validate(type="Text")
	* @FLOW3\Validate(type="StringLength", options={ "minimum"=2, "maximum"=80 })
	* @ORM\Column(length=80)
	*/
	protected $linktitle = '';
	
	/**
	* The authors linkurl.
	*
	* @var string
	* @FLOW3\Validate(type="NotEmpty")
	* @FLOW3\Validate(type="Text")
	* @FLOW3\Validate(type="StringLength", options={ "minimum"=2, "maximum"=80 })
	* @ORM\Column(length=80)
	*/
	protected $linkurl = '';
	
	/**
	* The authors linkdescription.
	*
	* @var string
	* @FLOW3\Validate(type="NotEmpty")
	* @FLOW3\Validate(type="Text")
	* @FLOW3\Validate(type="StringLength", options={ "minimum"=2, "maximum"=80 })
	* @ORM\Column(length=80)
	*/
	protected $linkdescription = '';
	
	/**
	* Sets Entries Linktitle
	*
	* @param string $linktitle The Entries author
	* @return void
	*/
	public function setLinktitle($linktitle) {
		$this->linktitle = $linktitle;
	}
	
	/**
	* Get the Entries author
	*
	* @return string The Entries author
	*/
	public function getLinktitle() {
		return $this->linktitle;
	}
	
	/**
	* Sets Entries Linktitle
	*
	* @param string $linkurl The Entries author
	* @return void
	*/
	public function setLinkurl($linkurl) {
		$this->linkurl = $linkurl;
	}
	
	/**
	* Sets Entries Linkurl
	*
	* @param string $linkurl The Entries author
	* @return void
	*/
	public function getLinkurl() {
		return $this->linkurl;
	}
	
	/**
	* Sets Entries Linktitle
	*
	* @param string $linkdescription The Entries author
	* @return void
	*/
	public function setLinkdescription($linkdescription) {
		$this->linkdescription = $linkdescription;
	}
	
	/**
	* Sets Entries Linkurl
	*
	* @param string $linkdescription The Entries author
	* @return void
	*/
	public function getLinkdescription() {
		return $this->linkdescription;
	}
	
}
?>